﻿namespace NTTDATA.BEENChina.ResultCertification.Logic
{
    public class WorkingState
    {
        private WorkingState()
        {
        }

        private Logic.CheckMonitor checkMonitor;
        public Logic.CheckMonitor CheckMonitor
        {
            get
            {
                return checkMonitor;
            }
            set
            {
                checkMonitor = value;
            }
        }
    

        public bool Stop { get; set; }

        private static WorkingState workingState;

        public static WorkingState GetInstance()
        {
            if (workingState == null)
            {
                workingState = new WorkingState();
            }

            return workingState;
        }

        private int _splitNumber = 4;

        public int SplitNumber
        {
            get { return _splitNumber; }
            set { _splitNumber = value; }
        }
    }
}
